<?php

use Yaf\Exception;

/**
 * InternalServerErrorException 服务器运行异常错误
 * Class InternalServerErrorException
 */
class InternalServerErrorException extends Exception
{
    public function __construct($message = "", $code = 0, Throwable $previous = null)
    {
        parent::__construct($message, 500 + $code, $previous);
    }
}
